import request from '@/api/http'
const baseUrl =process.env.NODE_ENV === 'production' ? window._CONFIG['baseURL'] : '/news' // api 的 base_url
//查询单个游戏报告
export function GameReport(reportId) {
  return request({
    url: baseUrl + `/api/report/${reportId}`,
    method: 'get',
  })
}
export function NoticeNew() {
  return request({
    url: baseUrl + '/api/notice/new',
    method: 'get',
  })
}
//游戏背景
export function GameBackNew() {
  return request({
    url: baseUrl + '/api/information/new',
    method: 'get',
    params:{type:0}
  })
}//游戏背景 end
export function GetDict(name) {
  return request({
    url: baseUrl + '/api/dict/one?name='+name,
    method: 'get',
  })
}